package com.hs.pk.berth.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 路段
 * </p>
 *
 * @author lhj
 * @since 2022-07-20
 */
@Getter
@Setter
@TableName("road")
@ApiModel(value = "Road对象", description = "路段")
public class Road implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    //收费类型：全天收费
    @ApiModelProperty("收费类型")
    @TableField("type")
    private String type;

    @ApiModelProperty("位置")
    @TableField("location")
    private String location;

    @ApiModelProperty("泊位数")
    @TableField("berth_num")
    private Integer berthNum;

    @ApiModelProperty("最大泊位数")
    @TableField("imit_berth_num")
    private Integer imitBerthNum;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("路段名称")
    @TableField("name")
    private String name;

    //路段状态（0 -- 未启用，1--已启用）
    @ApiModelProperty("路段状态")
    @TableField("status")
    private int status;


}
